package hw524919.lesson2;

public class EqualLearnClass{
	private int a=1;
	private int b=1;
	
	public boolean doubleEquality(){
		return a==b;
	}
	
	private String stringa="1";
	private String stringb="1";
	
	
	public boolean doubleEqualityObject(){
		return String.valueOf(a)==stringa;
	}
	
	public boolean equalObject(){
		return stringb.equals(stringa);
	}
	
	public boolean equalObjectContains(){
		return String.valueOf(a).equals(stringa);
	}
}
